﻿using Company.Cfg;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;

public static class StaticData
{
    public static string ParentResABDirectory;
    public static string SelfResourceServerIpAndPort;
    public static bool isShowSelfLog;
    public static bool IsABNotFromServer = false;
    public static bool isABUsedYunSever;
    public static string localVersionGameCode;
    public static bool isUseStreamingAssetRes = false;
    public static bool isUseAssetBundle = false;
    public static bool isNotWifiDownloadClick;
    public static bool isNotWifiDownload;
    public static string GameShowVersion;
    public static Config configExcel;

    public static void DebugGreen(string logInfo)
    {
        if (isShowSelfLog)
        {
            Debug.Log($"<color=green>{logInfo}</color>");
        }
    }
    public static void QuitApplication()
    {
#if UNITY_EDITOR
        UnityEditor.EditorApplication.isPlaying = false;
#else
            UnityEngine.Application.Quit();
#endif
    }
}
